package com.wordLearning.word.domain.convert;

import com.wordLearning.word.domain.entity.UnmasteredWordBO;
import com.wordLearning.word.infra.basic.entity.UnmasteredWord;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UnmasteredBOConverter {
    UnmasteredBOConverter INSTANCE = Mappers.getMapper(UnmasteredBOConverter.class);

    UnmasteredWordBO convertUnmasteredWordEntityToBO(UnmasteredWord unmasteredWord);

    UnmasteredWord convertUnmasteredWordBOToEntity(UnmasteredWordBO unmasteredWordBO);
}
